package com.mint.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

@SpringCloudApplication
//@SpringBootApplication
//@EnableDiscoveryClient //发现服务
//@EnableCircuitBreaker //断路器
@EnableZuulProxy //智能路由
public class GatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(GatewayApplication.class, args);
    }
}
